<?php defined('BASEPATH') OR exit('No direct script access allowed');   ?><head>
    <title><?php echo $title; ?></title>
    <?php $this->load->module('admin/index/page_header');?>
</head>
<div class="nav">
    <ul>
        <li>
            <a  href="<?php echo site_url('weixin/actioninfo_prize')?>">奖品列表</a>
        </li>
         <li class="current">
            <a href="<?php echo site_url('weixin/actioninfo_prize/show_add')?>" >添加奖品</a>
        </li>
    </ul>
</div>
<form runat="server" name="example" method="post" action="<?php echo site_url($index_url); ?>">
<p>
所属活动：<select name="selactiv" style="width:128px;"><?php foreach($arrlist as $list){ ?><option value="<?php echo $list->aid; ?>"><?php echo $list->aname; }?></option></select>
</p>
<table style="line-height:39px; width:100%; border-bottom:1px;">
<tr style="width:100%"><td>第1个奖品</td></tr>
    <tr>    
    	<td>奖品名称</td>
        <td><input type="text" name="pname[]" width="355px;" /></td>
        <td>奖品数量</td>
        <td><input type="text" name="pnum[]" width="355px;" /></td>
       	<td>中奖几率</td>
        <td><input type="text" name="pchan[]" width="355px;" />只要填写数字</td>
        <td>奖品类型</td>
        <td><select name="ptype[]" style="width:128px;"><option value="0">虚拟</option><option value="1" selected="selected">实物</option></select>
        <input type="hidden" name="special[]" value="0" /></td>
    </tr>
    
    <tr style="width:100%"><td>第2个奖品</td></tr>
    <tr>    
    	<td>奖品名称</td>
        <td><input type="text" name="pname[]" width="355px;" /></td>
        <td>奖品数量</td>
        <td><input type="text" name="pnum[]" width="355px;" /></td>
       	<td>中奖几率</td>
        <td><input type="text" name="pchan[]" width="355px;" />只要填写数字</td>
        <td>奖品类型</td>
        <td><select name="ptype[]" style="width:128px;"><option value="0">虚拟</option><option value="1" selected="selected">实物</option></select>
        <input type="hidden" name="special[]" value="0" /></td>
    </tr>
    
    <tr style="width:100%"><td>第3个奖品</td></tr>
    <tr>    
    	<td>奖品名称</td>
        <td><input type="text" name="pname[]" width="355px;" /></td>
        <td>奖品数量</td>
        <td><input type="text" name="pnum[]" width="355px;" /></td>
       	<td>中奖几率</td>
        <td><input type="text" name="pchan[]" width="355px;" />只要填写数字</td>
        <td>奖品类型</td>
        <td><select name="ptype[]" style="width:128px;"><option value="0">虚拟</option><option value="1" selected="selected">实物</option></select>
        <input type="hidden" name="special[]" value="0" /></td>
    </tr>
    
    <tr style="width:100%"><td>第4个奖品</td></tr>
    <tr>    
    	<td>奖品名称</td>
        <td><input type="text" name="pname[]" width="355px;" /></td>
        <td>奖品数量</td>
        <td><input type="text" name="pnum[]" width="355px;" /></td>
       	<td>中奖几率</td>
        <td><input type="text" name="pchan[]" width="355px;" />只要填写数字</td>
        <td>奖品类型</td>
        <td><select name="ptype[]" style="width:128px;"><option value="0">虚拟</option><option value="1" selected="selected">实物</option></select>
        <input type="hidden" name="special[]" value="0" /></td>
    </tr>
    
    <tr style="width:100%"><td>第5个奖品</td></tr>
    <tr>    
    	<td>奖品名称</td>
        <td><input type="text" name="pname[]" width="355px;" /></td>
        <td>奖品数量</td>
        <td><input type="text" name="pnum[]" width="355px;" /></td>
       	<td>中奖几率</td>
        <td><input type="text" name="pchan[]" width="355px;" />只要填写数字</td>
        <td>奖品类型</td>
        <td><select name="ptype[]" style="width:128px;"><option value="0">虚拟</option><option value="1" selected="selected">实物</option></select>
        <strong><input type="hidden" name="special[]" value="0" /></strong></td>
    </tr>
    
    <tr style="width:100%"><td>第6个奖品</td></tr>
    <tr>    
    	<td>奖品名称</td>
        <td><input type="text" name="pname[]" width="355px;" value="谢谢参与" />未中奖值,不要修改此项</td>
        <td>奖品数量</td>
        <td><input type="text" name="pnum[]" width="355px;" value="1" /></td>
       	<td>中奖几率</td>
        <td><input type="text" name="pchan[]" width="355px;" />只要填写数字</td>
        <td>奖品类型</td>
        <td><select name="ptype[]" style="width:128px;"><option value="0">虚拟</option><option value="1" selected="selected">实物</option></select>
        <input type="hidden" name="special[]" value="1" /></td>
        
    </tr>        	
</table>
<br />
<input type="submit" name="endadd" id="endadd" value="提交内容" /> (提交快捷键: Ctrl + Enter)
</form>



